<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master" CodeBehind="Install.aspx.cs" Inherits="www.Install" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="contentPlaceHolder1"> 
 
        <asp:Label ID="Label1" runat="server" Text="You must configure the AspNetMembership providers and your web.config file before continuing."></asp:Label>&nbsp;<br />
        <br />
        <asp:Label ID="InstallRolesLabel" runat="server" Text="Install Default Roles and Users"></asp:Label>
        <asp:Button ID="ButtonInstallv1000" runat="server" OnClick="ButtonInstallv1000_Click"
            Text="Install v1.0" Enabled="False" />&nbsp;<br />
    <br />
    <asp:Label ID="Label2" runat="server" Text="Check out the "></asp:Label>
    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Images/database_diagram.PNG">Database Diagram</asp:HyperLink>
    <asp:Label ID="Label3" runat="server" Text="for an idea of what kind of Entities this sample project is using."></asp:Label><br />
        &nbsp;
        <br />
        <asp:LoginView ID="LoginView1" runat="server">
            <RoleGroups>
                <asp:RoleGroup Roles="Administrators">
                    <ContentTemplate>
        <asp:Label ID="GenerateLabel" runat="server" Text="Generate some random data."></asp:Label>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Generate" />
                        <asp:HyperLink ID="SearchLink" runat="server" NavigateUrl="~/Search/Default.aspx"
                            Visible="False">Search</asp:HyperLink>
                    </ContentTemplate>
                </asp:RoleGroup>
            </RoleGroups>
            <LoggedInTemplate>
                <asp:Label ID="Label6" runat="server" Text="You must be an admin to install random data."></asp:Label>
                <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Login.aspx">Log In</asp:HyperLink>
            </LoggedInTemplate>
            <AnonymousTemplate>
                <asp:Label ID="Label5" runat="server" Text="You must log in to install random data."></asp:Label>
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Login.aspx">Log In</asp:HyperLink>
            </AnonymousTemplate>
        </asp:LoginView>
</asp:Content>